﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

namespace ViewModels.BoardVM
{
    [DataContract]
    public class BoardVM
    {
        [DataMember(Name = "Idx")]
        public int Idx { get; set; }

        [DataMember(Name = "Title")]
        public string Title { get; set; }

        [DataMember(Name = "Body")]
        public string Body { get; set; }

        [DataMember(Name = "Categories")]
        public string[] Categories { get; set; }

        [DataMember(Name = "WriteDate")]
        public string WriteDate { get; set; }

        [DataMember(Name = "TitleImageUrl")]
        public string TitleImageUrl { get; set; }

        [DataMember(Name = "SearchTag")]
        public string SearchTag { get; set; }

        [DataMember(Name = "WriteUserName")]
        public string WriteUserName { get; set; }

        [DataMember(Name = "WriteUserId")]
        public string WriteUserId { get; set; }

        [DataMember(Name = "IsDisplay")]
        public bool IsDisplay { get; set; }
    }
}
